home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
MPW_TOOL
/
TOOLS
/
TOOLS_WI
/
GAWK
/
MACINTOS.REA
Wrap
Text File
|
1990-09-29
|
4KB
|
88 lines
About GNU awk for the Macintosh...
This is GNU awk, gawk, for the Macintosh. For those who don╒t know, GNU stands
for GNU╒s Not UNIX, an as-yet unfinished operating system,and is the primary
goal of the Free Software Foundation. The FSF has publically condemned Apple
Computer for it╒s litigation in defense of perceived copyrights. The FSF,
therefore, has no knowledge of the existence of this gawk version, and would
not support it if it did. Do not report bugs or make any other contact with FSF
concerning Macintosh gawk.
Why Macintosh gawk exists
gawk for the Macintosh exists for a number of reasons. First, I use gawk
extensively as part of my day to day work activities and wanted to have it at
home. Second, I was looking for a project in C to work on at home to learn Mac
programming. And third, it was a challenge. I have every intention of following
the GNU copyleft, meaning that I can not sell gawk for profit and must also
make full source available.
Macintosh gawk is Free Software Mac
gawk is distributed totally free of charge. It is not shareware or public
domain. I encourage you to read the documents that describe the GNU Public
License, or GPL so that you understand what this means.
Differences from UNIX gawk
Macinstosh gawk lacks some features that UNIX-like systems provide. These
features include pipes and multiple processes. Mac gawk will quit when source
programs invoke these functions. I caution against redirecting input and output
in getline and print/printf calls. All other features should work the same.
Macintosh caveats
Multifinder
Mac gawk will run under Multifinder, but is not particularly MF adapted. It is
set to use a partition size of 768K but large input files may require more,
much more. Operation under Finder should be fine.
Command Line
Macintosh gawk uses the THINK C ccommand interface. This provides a dialog box
that allows the user to enter UNIX shell-like command lines. Redirection of
input and output is done with radio buttons.
TEXT Files Mac gawk reads and writes standard Macintosh TEXT
files. To use word processor files, it will be necessary to save them as TEXT
first.
Behind the scenes
Compilation Mac gawk was compiled using THINK C 4.0.2 on a 4M Mac+ running
System 6.0.2. gawk requires bison to generate the awk.tab.c file. This is
generally only required when making changes in the actual awk language. The
source files were converted to comply with the ANSI standard ( as THINK defines
it ) and makes full use of function prototypes.
The author
I╒m not really the author, I just did the porting. My name is Tom Maszerowski,
I work for CPU Inc. as a consulting software engineer at Moscom, Inc. in East
Rochester, NY. I mention this in expectation that I may not always be available
at the addresses listed below. Moscom is nice enough to allow me email and UUCP
acccess and I thank them, but there are no guarantees. Thanks to my wife as
well, for allowing me the time at home to do this.
Bugs and updates
Please do not contact the FSF concerning this version of gawk. I expect to be
the sole point of contact for bugs and source code updates. I monitor the GNU
groups on NETNEWS and will try to incorporate them as needed. If you make
changes to the gawk source you feel will benefit others send them to me.
Addresses
I can be reached at the following email addresses:
tcm@moscom.com
{rit,tropix,ur-valhalla}!moscom!tcm
Mail delivery is usually quite good and I try to respond in a timely fashion (
although timely is a subjective term ).
Manual
I am currently converting the GNU awk manual from texinfo format to
MacWrite5.0. This willl be made available as soon as possible. I expect this
means before the end of October '90.